﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Consultarpedidos.aspx.cs" 
Inherits="ControlStock.Consultarpedidos" MasterPageFile="~/ControlStock.Master"%>

<asp:Content ID="content" ContentPlaceHolderID="stockContent" runat="server">
    <form id="form1" runat="server">
     <table>
    <tr>
    <td><h1>Pedidos por confirmar</h1></td>
    </tr>
    <tr>
    <td>
        <asp:GridView ID="GvPedidos" runat="server" AllowPaging="True" 
            AllowSorting="True" Height="172px" 
            Width="247px" AutoGenerateEditButton="True" AutoGenerateSelectButton="True" 
             onrowcommand="GvPedidos_RowCommand" onrowediting="GvPedidos_RowEditing">
             <RowStyle BackColor="#EFF3FB" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        </td>
    </tr>
    <tr><td>
        <h5>Detalle del Pedido</h5>
         <asp:GridView ID="GvDetalle" runat="server" AllowPaging="True" AutoGenerateColumns="false">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                    <label>Artículo</label>
                    </HeaderTemplate>
                    <ItemTemplate>
                    <%# ((ControlStock.Dominio.Articulos)Eval("Key")).Descripcion_Art %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Value" HeaderText="Cantidad" />
             </Columns>
             <RowStyle BackColor="#EFF3FB" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
         </asp:GridView>
         </td>
    </tr></table>
    </form>
</asp:Content>